package com.base;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.bean.QueryBean;

import java.util.List;

/**
 * Created by mhysa on 2017/1/20.
 */
public class MyBaseAdapter extends BaseAdapter {

    Context context;
    List list;
    public MyBaseAdapter(Context context, List list){

        this.context = context;
        this.list = list;
    }
    @Override
    public int getCount() {
        return list.size();
    }

    @Override
    public Object getItem(int position) {
        return list.get(position);
    }

    @Override
    public long getItemId(int position) {
        return position;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        return null;
    }
}
